package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliReconciliation", catalog="Id")
public class TcwWanliReconciliation extends BaseEntity<TcwWanliReconciliation> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="DepositPlatformCode", nameJava="depositPlatformCode", typeDataBase="varchar")
	private String depositPlatformCode;
	@YsField(nameDataBase="ReconciliationDayBegin", nameJava="reconciliationDayBegin", typeDataBase="char")
	private String reconciliationDayBegin;
	@YsField(nameDataBase="ReconciliationDayEnd", nameJava="reconciliationDayEnd", typeDataBase="char")
	private String reconciliationDayEnd;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="AmountGbp", nameJava="amountGbp", typeDataBase="decimal")
	private BigDecimal amountGbp;
	@YsField(nameDataBase="AmountUsd", nameJava="amountUsd", typeDataBase="decimal")
	private BigDecimal amountUsd;
	@YsField(nameDataBase="AmountEur", nameJava="amountEur", typeDataBase="decimal")
	private BigDecimal amountEur;
	@YsField(nameDataBase="AmountCny", nameJava="amountCny", typeDataBase="decimal")
	private BigDecimal amountCny;
	@YsField(nameDataBase="FeeGbp", nameJava="feeGbp", typeDataBase="decimal")
	private BigDecimal feeGbp;
	@YsField(nameDataBase="FeeUsd", nameJava="feeUsd", typeDataBase="decimal")
	private BigDecimal feeUsd;
	@YsField(nameDataBase="FeeEur", nameJava="feeEur", typeDataBase="decimal")
	private BigDecimal feeEur;
	@YsField(nameDataBase="AmountGuijiGbp", nameJava="amountGuijiGbp", typeDataBase="decimal")
	private BigDecimal amountGuijiGbp;
	@YsField(nameDataBase="AmountGuijiUsd", nameJava="amountGuijiUsd", typeDataBase="decimal")
	private BigDecimal amountGuijiUsd;
	@YsField(nameDataBase="AmountGuijiEur", nameJava="amountGuijiEur", typeDataBase="decimal")
	private BigDecimal amountGuijiEur;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliReconciliation setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TcwWanliReconciliation setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TcwWanliReconciliation setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TcwWanliReconciliation setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public String getDepositPlatformCode() {
		return depositPlatformCode;
	}
	public TcwWanliReconciliation setDepositPlatformCode(String depositPlatformCode) {
		this.depositPlatformCode = depositPlatformCode;
		return this;
	}
	public String getReconciliationDayBegin() {
		return reconciliationDayBegin;
	}
	public TcwWanliReconciliation setReconciliationDayBegin(String reconciliationDayBegin) {
		this.reconciliationDayBegin = reconciliationDayBegin;
		return this;
	}
	public String getReconciliationDayEnd() {
		return reconciliationDayEnd;
	}
	public TcwWanliReconciliation setReconciliationDayEnd(String reconciliationDayEnd) {
		this.reconciliationDayEnd = reconciliationDayEnd;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TcwWanliReconciliation setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public BigDecimal getAmountGbp() {
		return amountGbp;
	}
	public TcwWanliReconciliation setAmountGbp(BigDecimal amountGbp) {
		this.amountGbp = amountGbp;
		return this;
	}
	public BigDecimal getAmountUsd() {
		return amountUsd;
	}
	public TcwWanliReconciliation setAmountUsd(BigDecimal amountUsd) {
		this.amountUsd = amountUsd;
		return this;
	}
	public BigDecimal getAmountEur() {
		return amountEur;
	}
	public TcwWanliReconciliation setAmountEur(BigDecimal amountEur) {
		this.amountEur = amountEur;
		return this;
	}
	public BigDecimal getAmountCny() {
		return amountCny;
	}
	public TcwWanliReconciliation setAmountCny(BigDecimal amountCny) {
		this.amountCny = amountCny;
		return this;
	}
	public BigDecimal getFeeGbp() {
		return feeGbp;
	}
	public TcwWanliReconciliation setFeeGbp(BigDecimal feeGbp) {
		this.feeGbp = feeGbp;
		return this;
	}
	public BigDecimal getFeeUsd() {
		return feeUsd;
	}
	public TcwWanliReconciliation setFeeUsd(BigDecimal feeUsd) {
		this.feeUsd = feeUsd;
		return this;
	}
	public BigDecimal getFeeEur() {
		return feeEur;
	}
	public TcwWanliReconciliation setFeeEur(BigDecimal feeEur) {
		this.feeEur = feeEur;
		return this;
	}
	public BigDecimal getAmountGuijiGbp() {
		return amountGuijiGbp;
	}
	public TcwWanliReconciliation setAmountGuijiGbp(BigDecimal amountGuijiGbp) {
		this.amountGuijiGbp = amountGuijiGbp;
		return this;
	}
	public BigDecimal getAmountGuijiUsd() {
		return amountGuijiUsd;
	}
	public TcwWanliReconciliation setAmountGuijiUsd(BigDecimal amountGuijiUsd) {
		this.amountGuijiUsd = amountGuijiUsd;
		return this;
	}
	public BigDecimal getAmountGuijiEur() {
		return amountGuijiEur;
	}
	public TcwWanliReconciliation setAmountGuijiEur(BigDecimal amountGuijiEur) {
		this.amountGuijiEur = amountGuijiEur;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliReconciliation setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliReconciliation setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliReconciliation setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliReconciliation tcwWanliReconciliation(
		String bid,
		Integer effectStock,
		Long createChangeId,
		String depositPlatformCode,
		String reconciliationDayBegin,
		String reconciliationDayEnd,
		String vbz,
		BigDecimal amountGbp,
		BigDecimal amountUsd,
		BigDecimal amountEur,
		BigDecimal amountCny,
		BigDecimal feeGbp,
		BigDecimal feeUsd,
		BigDecimal feeEur,
		BigDecimal amountGuijiGbp,
		BigDecimal amountGuijiUsd,
		BigDecimal amountGuijiEur,
		Integer status
			) {
		TcwWanliReconciliation entity = new TcwWanliReconciliation();
		entity.setBid(bid);
		entity.setEffectStock(effectStock);
		entity.setCreateChangeId(createChangeId);
		entity.setDepositPlatformCode(depositPlatformCode);
		entity.setReconciliationDayBegin(reconciliationDayBegin);
		entity.setReconciliationDayEnd(reconciliationDayEnd);
		entity.setVbz(vbz);
		entity.setAmountGbp(amountGbp);
		entity.setAmountUsd(amountUsd);
		entity.setAmountEur(amountEur);
		entity.setAmountCny(amountCny);
		entity.setFeeGbp(feeGbp);
		entity.setFeeUsd(feeUsd);
		entity.setFeeEur(feeEur);
		entity.setAmountGuijiGbp(amountGuijiGbp);
		entity.setAmountGuijiUsd(amountGuijiUsd);
		entity.setAmountGuijiEur(amountGuijiEur);
		entity.setStatus(status);
		return entity;
	}
}